package com.quick.develop.flowable.domain.vo.rule;

import com.quick.develop.flowable.domain.BpmBaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author junyuan.liu
 * @description: TODO
 * @date 2022/5/24 15:22
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("管理后台 - 流程规则分配请求 VO")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class BpmRuleReqVO extends BpmBaseDO implements Serializable {
    private static final long serialVersionUID = 5019664405555881001L;

    @ApiModelProperty(value = "模型ID")
    private String modelId;

    @ApiModelProperty(value = "模型key")
    @NotEmpty(message = "模型key")
    private String modelKey;

    @ApiModelProperty(value = "部署ID")
    private String deploymentId;

    @ApiModelProperty(value = "节点编码")
    private String nodeCode;

}
